package edu.zut.cs.software.practice;

import java.sql.SQLException;

import javax.jms.JMSException;

/**
 * 
 * @author 耿昊天
 *
 */
public class Test {
	
	public static void main(String[] args)  throws JMSException,SQLException{
		MessageProducer mp=new MessageProducer();
		//发送
		mp.MessageSend();
		//发送信息和接收信息隔开
		System.out.println("===============================");
		
		MessageConsumer mc=new MessageConsumer();
		//接收
		mc.MessageReceive();
	}

}
